package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.vo.MemberElderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description FamilyMemberElderMapper
 * @Author LaiShidong
 * @Date 2025-03-02  16:19
 */
@Mapper
public interface FamilyMemberElderMapper extends BaseMapper<FamilyMemberElder> {

    /**
     * 分页查询家人列表
     * @param userId
     * @param pageNo
     * @param pageSize
     * @return
     */
    List<MemberElderVo> pageList(@Param("userId") Long userId,@Param("pageNo") Integer pageNo,@Param("pageSize") Integer pageSize);

}
